﻿#include "SceneInfo.h"

SceneInfo::SceneInfo()
	: m_threshold(80)
{
}

SceneInfo::~SceneInfo()
{
}

std::string SceneInfo::GetId()
{
	return m_id;
}

void SceneInfo::SetId(std::string id)
{
	m_id = id;
}

std::string SceneInfo::GetDevice()
{
	return m_device;
}

void SceneInfo::SetDevice(std::string device)
{
	m_device = device;
}

std::string SceneInfo::GetDetectType()
{
	return m_detectType;
}

void SceneInfo::SetDetectType(std::string type)
{
	m_detectType = type;
}

int SceneInfo::GetThreshold()
{
	return m_threshold;
}

void SceneInfo::SetThreshold(int v)
{
	m_threshold = v;
}

std::string SceneInfo::GetModel()
{
	return m_model;
}

void SceneInfo::SetModel(std::string model)
{
	m_model = model;
}

std::string SceneInfo::GetAlarmInfo()
{
	return m_alarmInfo;
}

void SceneInfo::SetAlarmInfo(std::string alarmInfo)
{
	m_alarmInfo = alarmInfo;
}

std::string SceneInfo::GetAlarmCode()
{
	return m_alarmCode;
}

void SceneInfo::SetAlarmCode(std::string alarmCode)
{
	m_alarmCode = alarmCode;
}

DateTime SceneInfo::GetCreateTime()
{
	return m_createTime;
}

void SceneInfo::SetCreateTime(DateTime& time)
{
	m_createTime = time;
}

DateTime SceneInfo::GetUpdateTime()
{
	return m_updateTime;
}

void SceneInfo::SetUpdateTime(DateTime& time)
{
	m_updateTime = time;
}